// 声明一个常量作为本地储存的键
const TOKEN_KEY = 'hm-vant-h5-84-token'

// 获取 token
export const getToken = () => localStorage.getItem(TOKEN_KEY)
// 存入 token
export const setToken = token => localStorage.setItem(TOKEN_KEY, token)
// 删除 token
export const delToken = () => localStorage.removeItem(TOKEN_KEY)
